package com.cm.figure.service.uploadService;

import com.cm.figure.dao.PicturesMapper;
import com.cm.figure.dao.UserMapper;
import com.cm.figure.model.Pictures;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * ClassName:UploadServiceImp
 * Package:com.cm.figure.service.uploadService
 * Description:
 *
 * @Date:2021/8/15 21:02
 * @com.chuangmei
 */
@Service
public class UploadServiceImp implements UploadService {

    @Resource
    private PicturesMapper picturesDao;

    @Override
    public int addPicture(Pictures picture) {
        return picturesDao.insertSelective(picture);
    }
}
